﻿@using Mulala.Cavan.Domain.MainBoundedContext.ConsignModule
@using Mulala.Cavan.Presentation.Mvc.Controller
@model Mulala.Cavan.Presentation.Mvc.ViewModel.ICorporationBiddingConsignViewModel
<table width="595" border="0" id="tab" cellpadding="0" cellspacing="0">
    <tr>
        <td width="129">
            委托名称
        </td>
        <td width="152">
            业主
        </td>
        <td width="152">
            竞标人
        </td>
        <td width="132">
            委托状态
        </td>
        <td width="145" class="tds">
            竞标时间
        </td>
    </tr>
    @foreach (IConsignBidderViewModel cb in @Model.ConsignBidders)
    {
        <tr>
            <td>
                @cb.Item.Consign.Name
            </td>
            <td>
                @Html.ActionLink(cb.Item.Consign.Proprietor.Name, ActionConst.DETAIL, ControllerConst.PROPRIETOR, new { id = cb.Item.Consign.Proprietor.ID }, null)
            </td>
            <td>
                @Html.ActionLink(cb.Item.Bidder.Name, ActionConst.DETAIL, ControllerConst.NANNY, new { id = cb.Item.Bidder.ID }, null)
            </td>
            <td>
                @cb.Status
            </td>
            <td class="tds">
                @cb.Item.CreateTime.ToShortDateString()
            </td>
        </tr>
    }
</table>
